package com.sojson.config.autoConfig.close.springsecurity.condition;

import com.sojson.config.condition.MyConfigurationCondition;
import com.sojson.constant.Constant;

/**
 * 关闭权限验证
 *
 * @author liu
 * @date 2021-04-28
 */
public class CloseSpringSecurityCondittion extends MyConfigurationCondition {

    @Override
    public boolean matches() {
        return Constant.PROPERTIES.getProperty("spring.security.filter.order") == null;
    }

}